package top.ochiamalu.aioj.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 文件上传服务
 *
 * @author ochiamalu
 * @date 2025/02/10
 */
public interface FileService {

    String uploadImage(MultipartFile file);

    void downloadFile(String name, HttpServletResponse response);
}
